fix hang after updating jagexappletviewer.jar