fixed bug where it wouldnt draw boxes in certain places