Fixed height calculation of newly inserted item. Fixes #166