fixing weird bug with pixalation