Ensuring map cannot pan outside the world. Bit hacky..