Fix the directional buttons not working on Chrome