Only act on left/right clicks when the mouse is grabbed.

Prevents the spawning and removal of bodies if the mouse isn't grabbed and the user does a left/right click.

Signed-off-by: Steven Downer <grinch@outlook.com>