Changed cursor to inherit from root element so global cursor can be set.