Fix support of monochrome mouse cursors.