fixed popup rendering