Fixed frames API bug - PUT wasn't working if the frame had no layers