Make sure we pass on returned values from decorated functions
Properly take into account inverted coordinates in coordinate conversion