Now calls setSizeFromLayout() rather than fixed to a 320x240 size