Fix a bug when you are not focusing the tab and the rotate events stack to explode when you come back