prevents image jumpiness