Fixes the issue with changing the third view