Fix css transition in webkit