private void handleMouseMoveAt(int xCoord, int yCoord) {
        final int tileSizeInPixels = ModelManager.getInstance().getTileSizeInPixels();
        final int oldSelectedX = selectedX;
        final int oldSelectedY = selectedY;
        if (coordinateBounds(xCoord, yCoord)) {
            selectedX = getTileXByAbsolutePixelX(xCoord, tileSizeInPixels);
            selectedY = getTileYByAbsolutePixelY(yCoord, tileSizeInPixels);
            if (oldSelectedX != selectedX || oldSelectedY != selectedY) {
                repaintTile(selectedX, selectedY);
                repaintTile(oldSelectedX, oldSelectedY);
            }
        }
        else {
            selectedX = -1;
            selectedY = -1;
            if (oldSelectedX != selectedX || oldSelectedY != selectedY)
                repaintTile(oldSelectedX, oldSelectedY);
        }
    }