Draft: compositor: Don't use role_data to check if it's okay to call commit
Some roles like cursors don't have role_data. We should call the commit handlers for those too.
After rebuilding my compositor on top of suggested changes in !4176 (merged) it still didn't work. This is the culperate.