Attempting to use sprite but getting trouble as expected