changed the way rendering is forced (now, whenever width/height is set)