MacOSXPlatform.java - Fix for ConcurrentModificationException