Fixed minimap memory leak, added building buttons appearing order