Added function for getting maze gridposition from index on the server
Fixed deinitialisation bug