fixed bugs related to RemoteAxis and RemoteButton