updated patch to include OSX screen wake bug #3287