dirty fix of calculation of minimap position