Compatibility fixes for the openlayers->coords change (this should be changed somewhen, though)