Make box look okay for large photos. Fix #578