Changed the behavior for transforming coordinates.