BUGFIX: Fix ArrayIndexOutOfBoundsException in PgsTabbedPaneUI, caused by out of bounds pointer for the previously hovered tab