Fixed flickering by layer promoting some elements