fixed render bug in chrome