Make coursebox respect page margins