DF-291 fixed error on some macs (fails to compile conversion from CGRect to NSRect)