function hook to object always enabled

even if the function hooks to guidelines, grid, object and all the others is disabled, when i resize an object it's always active and I can't freely resize it if near some coupling point because it attracts me.

it's a bug or I do something wrong?