Prevent dialogs from jumping around when you resize them.