FF: Fix NameError when using keyboard component

After recent changes it was not possible to use the keyboard component
because opening the property dialog raised a NameError. This was fixed
by using an available Sizer.