Correctly renders at arbitrary widths and heights