Dirty fix for the null pointer exception thrown during the construction of CoordinateView; the cause of the bug needs to be re-evaluated