Fixed sprite collision bug