[Fixes Bug #1081030] Percentage filed on Resize canvas/image gets focus and selection when dialog is opened