You don't have to focus on a screen that's that close to your eye. The pixels are so small and so close to your eye that the light doesn't disperse much before it hits your retina. That means the dots of light will seem to be in focus no matter how you focus your eyes.