Fix touch support and useButtonsWithTouch setting