Fix the bug that fixed element has wrong size