Disable input when active.