Creating a Vulkan image with width or height zero is an error, so check at the time when we compute the device pixel rect. The node file in the included test was devised by Benjamin Otte. Fixes: #6691