It isn't a question of moving it, it's a question of modifying it so that:
1) Collision detection placement blocking stops being inaccurate and overly cautious
2) You can place ship blocks inside docking boxes as long as it doesn't intersect with the docking ship's blocks.
The current implementation of docking is really clunky anyway, and I feel that the implementation of docking clamps would fix the second issue without having to write more procedure code for docking, which might end up eating performance too.