Revert "Fix drawing in IOS"

This reverts commit b6c7d3aeb34f4788e0e9b4962b6f6ca8ddf929fc.
Second attempt in fixing the IOS drawing bug