[DF-1592] Added error message for wrong layer size in psd