Issue #5933: anchorPoint error