Fix bug in cm focus handler that prevented focus