My underground base in one of my older files has a room for growing trees using bonemeal, and I just found out about this quirk, as this is my first time running the game in a couple months. This is why I have a storage hall I can dig to expand.