fixed #358: Error window will be top most