image pointer set null on sprite destruction