cocoa_common: fix window drag behaviour

seems like the merge from master broke this