Revert "Allow picture render size to be flexible in width or height"

This reverts commit c0f18802f69b1c516cef135d25ca9cb10ff402b8.