Prevent setPosition on toolbar when there's no toolbar available