Bug 826916 - Prevent input lost of focus when switching the Unit