Add size limit for swapchain.