Fixed bug in DTextBox where cursor was not showing