Attempting to fix the disappearing sprite issue.