fixed dimension issues, border rendering is good, and all working