Fixed some openbox bugs