Fix warning in method declaration for NSPoint