Comment and fix issues of cached locations when rotating