Fix for 'drawable is not a pixmap or window' warning on linux