Fixed flickering.