Update Engine.java

removed the final modifier from dispose()