Fix resizing callback on Cocoa.

This fixes 1/2 of the resizing problem on Cocoa (the bad back buffer).

I also updated the WindowResizedCallback to actually bind correctly.