Fix modify interaction

Make sure the lastPixel_ property is set before handling it
Fix modifyinteraction