Simplified auto-tile-fontsize code based on position-tracking plugin.