doc: add a Common Pitfalls section to RelativeLayout

Fixes #2666