Fixed Openlayers bug