Changed values passed to onSizeChanged and onPositionChanged.