Made QGIS 2.0 compatible/Fixed inverse transform