Fix a bug where commits with no children weren't marked as on-screen.