Small workaround for a Haiku bug.