fix touch focus and flash