bugfix: memory leak, icons were not destroyed after LoadImage()