Fixes: #2928 Fixed some position problems with error dialogs