Change player flicker from being frame-based to time-based