Improve tile painting using line drawing (#42)