Fixed an issue with the remove on subview added through markup not working.