Modified a paint tile method.