[DF-2325] Fixed adding objects at invalid positions