updated the hud scaling for java 8