attempt to fix black blocks in iOS