This prevents crashes when loading the application icon image. Suggested-by: Akemi <der.richter@gmx.de>