fixed minimap working now with both, editor and gui