Better implementation of minimap frame