updating a bug that was causing culling not to work in canvas