verify the surface size of RasterLayer in the psd export

Exporting an empty layer causes assertion failure.