Fix keyboard control option in gallery component