bug fix: attachment window drawing issue on KDE desktop