Transition flickering fixed