Fix css transition