Removing the unnecessary sprite reference