Transforming mobile coordinates to view coordinates