[[ Cocoa ]] Tweaked cursor handling code to ensure the cursor attached to a stack is set appropriately.