K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-10T06:13:27.121173Z K 7 svn:log V 154 Properly use the cursor to bound the position for CUP. We must take the origin region into account when clamping the cursor position. MFC after: 3 days END