Fix map loader runtime
Created by: unid15
The map will now correctly extend in order to accommodate map elements too big for it
Also now the map loader gets the map's width correctly (it could've been a huge disaster if somebody loaded, say 300x100 map with a 3 length key - the game map would extend to 900x500)