Add a command-line option to disable 2D acceleration. Fix #386