Mouse input axis not working in the packaged game unless any mouse button is clicked

Third person hack and slash game. With keyboard and mouse controls, the camera is controlled with the mouse movement. Everything works when playing in the editor, but when packaging the game the both mouse input axes are zero unless a mouse button is down. Any ideas?