Math fixes, additions to RenderElement