Prepared ugly hack to prevent mouse events for TextFlow to be ignored