Assert that pixel is non-null when positioning overlay