Fix linux flicking