Map Editor Fixes

- Fixed tileSetScrlX and tileSetScrlY to be the proper maximum sizes
based on the selected tileset size.
- Fixed the tileset selection to not let you select invalid locations
- Fixed the map tile selection to not let you select invalid locations
- Fixed editor resizing to automatically update the rendered data and
scrollbars.