Test of input manager when it is used as a thread
Fix Yaw and Pitch when input manager is used as a thread