fix implicit conversion from NSRect to CGRect and NSPoint to CGPoint