Changed canvas switching to work differently.