Added collision flipping with proper arrow placement support in popbox.