fix preview button positioning