Fixing a traceback where .ani should be renamed to .app in drawwindow