Don't set both, only set one or the other. Can you please send a small project with your bug reproduction?