Fixed memory leak in view controller transitions