Only reload stuff when the layer is turned on