remove more unnecessary parens, move cursor change to canvas element