Added some logging messages to find error
Square renders in wrong place, need to adjust for coordinate system