maybe you need this move_min_z = 0.4; add it to your main