Make sure that screen resize is registered on initialization