fix map resize on level switch