Fix bug upon resize. Standardize on 0,0 as origin.