Merge "Do not assign InputMethod to non-input windows." into klp-dev