Fixed plaf dependant issues with Jython