Add getDisplaySize() to UIDisplayElement to remove lwjgl dependency