OSX drawing artifacts