fixed  issues with nimbus laf and macosx

- should help with issues #181 and #169