Fixing xmax bug in drawFlags.
Fixing xmax bug in drawFlags.

RobertoMalatesta/envisionjs,RobertoMalatesta/envisionjs,notepad104/envisionjs,notepad104/envisionjs,HumbleSoftware/envisionjs,bigspotteddog/envisionjs,HumbleSoftware/envisionjs,bigspotteddog/envisionjs,notepad104/envisionjs,RobertoMalatesta/envisionjs