Fix input handling for XNA control.