old behaviour of positioning frames

due to java update