Changed onMeasure