Removed unnecessary width and height calculation which seemed to be done...

... to display cursor as text indicator. Now added CSS for cursor to be text indicator. Also removed bug that overwrote color of defaults with null value.