Progress with scaling

Need to finalize proper "unprojecting" of coordinates from screen to
world, taking the viewport into account.