Fix rectangular map loading