Fix dropping sideways logs and leaf blocks.

Fixes #1460