Fix calculation for screen -> world coordinates