fixed cursor rendering and 2d plane orientation in brush mode