Remove flickering on css tranform