Prevent NullPointerException when mCompat is null