Trying to correc the mining bug
Optimizing drawing loop(by not drawing bodies that are too far to be seen)