Fix wrong size bug in 10.9

In 10.9 `[NSScreen mainScreen]` could return any screen which is currently active. We need the screen with `(0,0)` coordinate so I changed it too `[[NSScreen screens] objectAtIndex:0]`, which is how it should be done anyway.