fixed bug on bottom bar in preview for camera