fixes error handling of denied access to properties

See
http://sc4devotion.com/forums/index.php?topic=16500.msg480765#msg480765