Changing the layer of an entity could cause flickering