Fixed memory management issue
Check sprite is loaded before drawing it