Fix crash on FromTo view