Fix border radius on reference picture (fixes #1608)