Can reproduce in OTTD 1.7.2-RC1 using Win 7 Ultimate.
EDIT: Additional valid reproduction steps:
You will need an object NewGRF that provides build in water objects to do this.
1. Set freeform_edges = 0 in openttd.cfg
2. Build the object that should go in water.
3. Build canal tiles over it.