Debug resize map and edit editor