fix jumping issues with scale and translate