fixed that fatal error box was not scaled right in some situations