Fixed critical bug in view managers that was breaking the whole system