Fix buggy external map resize