fixed copy/cut scroll offset in paint mode