[[ Bug 12021 ]] Add Cocoa implementation of effective rect of stack