fixes offset scaling bug
remove debugging code
fixed ios rendering clear elem bug + low resolution rendering clear elem bug