Only listen to mouse input if display is active
Prevents the camera for moving if the client's window is not focused.
Signed-off-by: Steven Downer <grinch@outlook.com>