[NaCl] Add clamping of mouse input events.

With pepper the mouse pointer can move outside the frame
once a touch has been accepted.  This doesn't make sense
for cocos2dx, so we clamp the motion if its outside the
current frame.

Also, fix typo in CCImage.cpp.

Review URL: https://codereview.chromium.org/12379026