Fixes wrong coordinates calculation