set minimum cursor width to 0 and fix cursor position