Added collision loop for sprites