Try to render rectangle programmatically.