Handle screen resize

This patch fixes screen resizes so that components are notified of the resize