I just noticed, when pressing ESC to pause the game the menu just flies away. My bad
UPDATE: The Destroy function also doesn't work :(UPDATE: Fixed the bugs