Render refactor (with couple of fixes)

it we do it, then change of every rectangle's props will lead to regeneration of frames, so i've decided to leave it as is