Fix for CSS3 transitions messing up position data