Bulls happy to win ugly