Fixes views so we can use layouts again.