dev_Capture screenshot throws NPE when property is not defined