Fix `insert` function

It looks it wasn't updated after changes in normalize resolution