fix for null reference; moving to using rectTransform.rect (for whatever reason I didn't know about that :) )