Fix: frameless window not draggable after resizing

cherry-pick https://chromiumcodereview.appspot.com/12314115/