Fixed the nearest issue when clicking for pixels by only allowing clicks within 200 pixels of a point to cause the JOptionPane to open.