fix draw cursors, clip scripting layer