Fix bugs with position of input action sheet at different magnifications.

Remove inputs of wrong type when changing operator type.