Fixed the reposition of meny after scaling window