fix focus when placeholder is defined