Several MasterDetail fixes

- MasterDetail: Fixed exception on EditAction 
- MasterDetail: Fixed resizing issue on IE8