fix fullscreen exit process on ended function for old android chrome