Fix weird toolbar animation.