Minecraft wiki entry for Development_versions, associated text: Internal state flag CAN_RIDE_TARGET that was stopping interactions with items will be properly set/cleared when looking at a mob that cannot be ridden.