fix: Improve hasPixelBuffer correctness
#3930
+73
−41
Merged