Fix offset parent detection
0.5.1