HomeWildfire Games

Fixes building snapping for non-square foundations. Fixes #5976