Improved SkinEditBox function.