Basic example showing the exception I'm getting with sprites