Resolve conflict between resizing and chrome buttons