compile fix with bilinear sampling + temp fix for black dots