Added transformToWorldCoordinates option