Fixed pinch and rotate gestures allocating for too few buttons.