Prevent photos overlapping on content

Ref #50