Fixed bug on orientation variables on InputEngine