Fixed that when maximized/snap the map wont refit