I haven't found a solution to this yet, and yes it really is confusing. To show the loading icon sometimes (on panning and zooming), but not others (turning on/off layers), to a user would indicate that something went wrong with the application when there is a delay without results...