Fixing painters algorithm error (no need to check polygon boxes overlap).