Adjusted the way ball position is translated between devices of different sizes