Renames CGRectInvert to SLKRectInvert
Improves external keyboard detection