Made compositor more efficient at handling mouse redraws