change sprite rendering to use camera resolution (and thus fix bugs introduced by last commit