Revert "Fixes a ClassCastException in the AWT GLCanvas"

This reverts commit 4ba971e61caa1cc223e7d9354053f8fe13910e14.