Fixed bug where it wasn't possible to change block type of text blocks.