Update window bounds to fit all UI elements

Something went sour during recent Maya updates where
the dialog bounds get computed differently.