Fix issue with getAbsolutePosition helper