Sometimes at app start viewport isn't set yet