Fixes a bug where the textblock itself wasn't selected correctly