Solved the issue. The grid drawing code was false.
closed #26